<div class="container">
<div id="main">
<div class="row-fluid" id="searchbox">
<div class="span9">
<div class="w-box">
<div class="w-box-header-pages">
<h1 class="page-header"><?php echo $text_advanced_search_properties; ?></h1>
</div>
<div class="w-box-content cnt_a">
<form method="get" action="<?php echo base_url(); ?>listing-rows"
	class="form-search-box">
<div class="row-fluid">
<div class="span12">
<p class="heading_a"><label class="radio inline"> <input type="radio"
	checked="checked" value="0" id="local" name="localorint"> <?php echo $text_local; ?>
</label> <label class="radio inline"> <input type="radio" value="1"
	id="international" name="localorint"> <?php echo $text_international; ?>
</label></p>
</div>
</div>
<div class="row-fluid">
<div class="span2">
<div class="heading_vertical"><label class="radio"> <input type="radio"
	checked="checked" value="sale" id="forsaleorforrent1"
	name="propertyfor"> <?php echo $text_property_forsale; ?> </label> <label
	class="radio"> <input type="radio" value="rent" id="forsaleorforrent2"
	name="propertyfor"> <?php echo $text_property_forlease; ?> </label></div>
</div>
<div class="span10">
<div class="row-fluid">
<div class="span4"><?php echo $text_listingtype; ?></div>
<div class="span8"><select name="list_type" id="list_type"
	class="span12">
	<option selected="selected" value=""><?php echo $text_please_select; ?></option>
	<option value="resale"><?php echo $text_resale; ?></option>
	<option value="project"><?php echo $text_project_listing; ?></option>
</select></div>
</div>
<div class="row-fluid">
<div class="span4"><?php echo $text_property_classification; ?></div>
<div class="span8"><select name="ddlPropertyClss" id="ddlPropertyClss"
	class="span12">
	<option selected="selected" value=""><?php echo $text_all; ?></option>
	<?php foreach($dd_propertycategory as $val) { ?>
	<option value="<?php echo $val->Type; ?>"><?php echo $val->Type; ?></option>
	<?php } ?>
</select></div>
</div>
<div class="row-fluid">
<div class="span4"><?php echo $text_propertytype; ?></div>
<div class="span8"><select name="ddlPropertyType" id="ddlPropertyType"
	class="span12">
	<option value="" selected="selected"><?php echo $text_all; ?></option>
</select></div>
</div>
<div class="row-fluid">
<div class="span4"><?php echo $text_city; ?></div>
<div class="span8 city_advance_search">
<div class="row-fluid">
<div class="span12"><span class="selections span12"
	id="a_search_city_area_advanced_selections"><span><?php echo $text_select_city; ?></span></span>
</div>
</div>
<div id="ddlCity" class="row-fluid search_cityareapanel selectpanel"
	style="display: none;">
<div class="span12"><label
	for="city_<?php echo $this->config->item('market'); ?>"> <input
	type="checkbox" value=""
	id="city_<?php echo $this->config->item('market'); ?>"
	checked="checked" class="formcheck autosubmit parentCheckBoxForCity"
	name="cities_all"> <?php echo $text_all; ?> </label> <?php foreach ($lkup_cities as $city) { ?>
<label for="city_<?php echo $city->City_ID; ?>"> <input type="checkbox"
	value="<?php echo $city->City_ID; ?>"
	id="city_<?php echo $city->Code; ?>"
	class="formcheck autosubmit childCheckBoxForCity" name="cities[]"> <?php echo $city->Name; ?>
</label> <?php } ?></div>
</div>
</div>
</div>
<div class="row-fluid">
<div class="span4"><?php echo $text_location; ?></div>
<div id="location_advance_search" class="span8 location_advance_search"
	sty>
<div id="ddlLocation_Heading" class="row-fluid">
<div class="span12"><span class="selections span12"
	id="a_search_location_area_advanced_selections"><span><?php echo $text_select_location; ?></span></span>
</div>
</div>
<div id="ddlLocation"
	class="row-fluid search_locationareapanel selectpanel"
	style="display: none;"></div>
</div>
</div>
<div class="row-fluid">
<div class="span4"><?php echo $text_subarea; ?></div>
<div class="span8"><select name="chkSubArea" id="chkSubArea"
	class="span12">
	<option value=""><?php echo $text_all; ?></option>
	<?php foreach ($lkup_subarea as $val) { ?>
	<option value="<?php echo $val->Subarea_ID; ?>"><?php echo $val->Name; ?></option>
	<?php } ?>
</select></div>
</div>
<div class="row-fluid">
<div class="span4"><?php echo $text_price; ?></div>
<div class="span8">
<div class="row-fluid">
<div class="span4"><input name="price_min" type="text" id="price_min"
	class="span12" placeholder="Min"></div>
<div class="span4"><input name="price_max" type="text" id="price_max"
	class="span12" placeholder="Max"></div>
<div class="span4"><select name="ddlPriceUnit" id="ddlPriceUnit"
	class="span12">
	<option selected="selected" value="IDR">IDR</option>
	<option value="USD">USD</option>
</select></div>
</div>
</div>
</div>
<div class="row-fluid">
<div class="span4"><?php echo $text_size; ?></div>
<div class="span8">
<div class="row-fluid">
<div class="span4"><input name="size_min" type="text" id="size_min"
	class="span12" placeholder="Min"></div>
<div class="span4"><input name="size_max" type="text" id="size_max"
	class="span12" placeholder="Max"></div>
<div class="span4"><select name="ddlSizeUnit" id="ddlSizeUnit"
	class="span12">
	<option selected="selected" value="sqm">SqM</option>
	<option value="sqft">SqFt</option>
</select></div>
</div>
</div>
</div>
<div class="row-fluid">
<div class="span4"><?php echo $text_bedrooms; ?></div>
<div class="span8"><select name="bedrooms" id="bedrooms" class="span12">
	<option selected="selected" value=""><?php echo $text_all; ?></option>
	<?php for ($i = 1; $i < 10; $i++) { ?>
	<option value="<?php echo $i; ?>"><?php echo $i; ?></option>
	<?php } ?>
</select></div>
</div>
<div class="row-fluid">
<div class="span4"><?php echo $text_bathrooms; ?></div>
<div class="span8"><select name="bathrooms" id="bathrooms"
	class="span12">
	<option selected="selected" value=""><?php echo $text_all; ?></option>
	<?php for ($i = 1; $i < 10; $i++) { ?>
	<option value="<?php echo $i; ?>"><?php echo $i; ?></option>
	<?php } ?>
</select></div>
</div>
<div class="row-fluid">
<div class="span4"><?php echo $text_keyword; ?></div>
<div class="span8"><input name="keyword" type="text" id="keyword"
	placeholder="<?php echo $text_add_des; ?>" class="span12"></div>
</div>
<div class="row-fluid">
<div class="span12">
<div class="pull-right"><input type="submit" value="Search"
	class="btn btn-primary btn-large" name="btnSearch" id="btnSearch"></div>
</div>
</div>
</div>
</div>
</form>
</div>
</div>
</div>
<div class="sidebar span3"><?php $this->load->view('helpers/widgets/ad.php'); ?>
</div>
</div>
</div>
</div>
